package edu.sctu.renpingan.day20150515.text2;

/**
 * Created by user18 on 2015/5/12.
 */
public class TextTwo extends TextOne {
    public TextThere[] students = new TextThere[textTheres.length];
    public int k;

    public TextTwo(TextThere[] textTheres) {
        super(textTheres);
    }


    @Override
    public TextThere[] getSysyTem() {

        for(int i = 0;i<10;i++){

            if (textTheres[i].getGrade() > 60 ) {
                students[i] = textTheres[i];
            }

        }
return students;
    }
}
